import { lazy } from "react";
import lazyLoad from "@/routers/utils/lazyLoad";
import { RouteObject } from "@/routers/interface";

// 启动配置模块
const openRouter: Array<RouteObject> = [
	{
		path: "/open",
		element: lazyLoad(lazy(() => import("@/views/open/index"))),
		meta: {
			title: "启动程序",
		},
	},
	{
		path: "/open/utils",
		element: lazyLoad(lazy(() => import("@/views/open/openutils"))),
		meta: {
			title: "启动配置",
		},
	},
	{
		path: "/open/selectbg",
		element: lazyLoad(lazy(() => import("@/views/open/openselectbg"))),
		meta: {
			title: "选择启动背景图",
		},
	},
];

export default openRouter;
